package br.com.obardavez.service.impl;

import java.util.List;

import com.google.inject.Inject;

import br.com.obardavez.base.dao.BaseDAO;
import br.com.obardavez.base.service.impl.BaseServiceImpl;
import br.com.obardavez.dao.CadastroDAO;
import br.com.obardavez.entity.Cadastro;
import br.com.obardavez.service.CadastroService;

public class CadastroServiceImpl extends BaseServiceImpl<Cadastro> implements CadastroService {
	
	private static final long serialVersionUID = 1L;
	
	@Inject
	private CadastroDAO cadastroDAO;
	
	@Override
	public List<Cadastro> getItensModerados() {

		return cadastroDAO.getItensModerados();
	}
	
	@Override
	public BaseDAO<Cadastro> getDAO() {
		return cadastroDAO;
	}
	
	

}
